package com.tbit.main.dao.core;

import com.tbit.main.pojo.MachineAlarm;

import java.util.List;

/**
 * @author LMY
 * @create 2020-11-16 11:44
 * 资产预警开关
 */
public interface MachineAlarmDao {

    void insert(MachineAlarm machineAlarm);

    void update(MachineAlarm machineAlarm);

    MachineAlarm getByAccountId(Integer accountId);

    List<MachineAlarm> getAll();

    List<MachineAlarm> getType(String type);
}
